package com.amado.course45mysql02.domain;

import java.util.Date;

public class Student {
	private Long id;
	private String name;
	private Byte sex;
	private String phone;
	private Short age;
	private Date create_time;
	
	private String teacherNumber;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Byte getSex() {
		return sex;
	}

	public void setSex(Byte sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Short getAge() {
		return age;
	}

	public void setAge(Short age) {
		this.age = age;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Student(){
		
	}
	
	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", sex=" + sex + ", phone=" + phone + ", age=" + age
				+ ", create_time=" + create_time + "]";
	}

	public Student(String name, Byte sex, String phone, Short age) {
		super();
		this.name = name;
		this.sex = sex;
		this.phone = phone;
		this.age = age;
	}
	public Student(Long id,String name, Byte sex, String phone, Short age) {
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.phone = phone;
		this.age = age;
	}
}
